/** */
package co.com.umobile.service;

import android.content.Context;
import co.com.umobile.domain.User;

/**
 * define the services of the session.
 * @author sergiogranada
 *
 */
public interface SessionServices {
	
	/**
	 * returns the last valid user information.
	 * @return UserSession.
	 */
	User getLastUserSession();
	
	/**
	 * updates a user row.
	 * @param userSession user session.
	 * @param context contexto.
	 */
	void updateUser(User userSession, Context context);
	
}
